package com.dindang.propertyfee;

import android.app.Application;

import com.dindang.propertyfee.app.utils.print.AidlUtil;
import com.longxi.gamer_base.IComponentApplication;
import com.longxi.gamer_base.MyApplication;

public class ProperFeeApplication extends  MyApplication implements IComponentApplication {
    private boolean isAidl;

    public boolean isAidl() {
        return isAidl;
    }

    public void setAidl(boolean aidl) {
        isAidl = aidl;
    }
    @Override
    public void onCreate(MyApplication application) {
        isAidl = true;
        AidlUtil.getInstance().connectPrinterService(getInstance());
    }

    @Override
    public Application getAppliaction() {
        return getInstance();
    }
}
